package com.toplabs.unashu.service;

import com.toplabs.unashu.dto.PageDto;
import com.toplabs.unashu.dto.SearchLog;
import com.toplabs.unashu.entity.LoginLog;
import com.toplabs.unashu.exception.ServiceException;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ityanger
 * @since 2020-08-23
 */
public interface LoginLogService {
    void saveLoginLog(HttpServletRequest request) throws ServiceException;

    void delete(Long id) throws ServiceException;

    PageDto<LoginLog> getLoginLogList(SearchLog log);

    void batchDelete(List<Long> ids) throws ServiceException;
}
